﻿using System;
using System.Collections.Generic;
using System.ComponentModel;
using System.ComponentModel.DataAnnotations;
using System.Linq;
using System.Web;

namespace TO3.Models
{
    public class Tournament
    {
        public int Id { get; set; }
        [Display(Name = "Turnering")]
        public string Name { get; set; }
        public virtual ICollection<Match> Matches { get; set; }
        public int ActiveRound { get; set; }
        public virtual ICollection<TournamentRegistration> TournamentRegistrations { get; set; }

        public Tournament()
        {
            ActiveRound = 1;
        }
    }
}